package com.designPattern.FactoryMode;

/**
 * Created by Administrator on 2018/1/2.
 */

public abstract class Operation {
    private double num1 = 0;
    private double num2 = 0;

    public abstract double operation();

    public double getNum1() {
        return num1;
    }

    public void setNum1(double num1) {
        this.num1 = num1;
    }

    public double getNum2() {
        return num2;
    }

    public void setNum2(double num2) {
        this.num2 = num2;
    }
}
